package com.pxmeta.privilege.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SetPrivilegeDTO {
    @ApiModelProperty(value = "权限id",required = true)
    @NotNull
    private Long privilegeId;

    @ApiModelProperty(value = "成员类型：1管理，2全体",required = true)
    @NotNull
    private Integer userType;

    @ApiModelProperty(value = "管理员id")
    private Long adminId;

    @ApiModelProperty(value = "圈子id",required = true)
    @NotNull
    private Long circleId;

    @ApiModelProperty(value = "状态：0拒绝，1允许",required = true)
    @NotNull
    private Integer status;
}
